<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
  <head>
    <title><?php echo ($articleData["article_title"]); ?></title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta name="keywords" content="个人博客,王宏宇个人博客,个人博客系统,老王博客,王宏宇">
    <meta name="description" content="Lao王博客系统">
    <LINK rel="Bookmark" href="favicon.ico">
    <LINK rel="Shortcut Icon" href="favicon.ico" />
    <!--[if lt IE 9]>
      <script type="text/javascript" src="/staticRes/js/html5shiv.js"></script>
      <script type="text/javascript" src="/staticRes/js/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="/Public/Home/assets/plugin/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/assets/plugin/Hui-iconfont/1.0.8/iconfont.min.css" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/assets/css/common.css" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/assets/plugin/pifu/pifu.css" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/assets/plugin/wangEditor/css/wangEditor.min.css">
    <!--[if lt IE 9]>
      <link href="/staticRes/lib/h-ui/css/H-ui.ie.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    <script type="application/x-javascript">addEventListener("load",
      function() {
        setTimeout(hideURLbar, 0);
      },
      false);
      function hideURLbar() {
        window.scrollTo(0, 1);
      }
      function showSide() {
        $('.navbar-nav').toggle();
      }</script>
  </head>
  
  <body>
      <header class="navbar-wrapper"> 
   <div class="navbar navbar-fixed-top"> 
    <div class="container cl"> 
     <a class="navbar-logo hidden-xs" href="index.html"> <img class="logo" src="/Public/Home/assets/img/logo.png" alt="王宏宇的个人博客" /> </a> 
     <a class="logo navbar-logo-m visible-xs" href="index.html">王宏宇的个人博客</a> 
     <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:void(0);" onclick="showSide();"></a> 
     <nav class="nav navbar-nav nav-collapse w_menu" role="navigation"> 
      <ul class="cl"> 
       <li class="active"> <a href="<?php echo U('Index/index');?>" data-hover="首页">首页</a> </li> 
       <li> <a href="<?php echo U('Mood/index');?>" data-hover="心情">心情</a> </li> 
      </ul> 
     </nav> 
<!--      <nav class="navbar-nav navbar-userbar hidden-xs hidden-sm " style="top: 0;"> 
      <ul class="cl"> 
       <li class="userInfo dropDown dropDown_hover"> 
        <a href="javascript:;" ><img class="avatar radius" src="/Public/Home/assets/img/40.jpg" alt="丶似浅 "></a>
                            <ul class="dropDown-menu menu radius box-shadow">
                                <li><a href="/app/loginOut">退出</a></li>
                            </ul> <a href="#" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})"><img class="avatar size-S" src="/Public/Home/assets/img/qq.jpg" title="登入" />登入</a> </li> 
      </ul> 
     </nav>  -->
    </div> 
   </div> 
  </header> 
    <!-- header html -->
    <!--导航条-->
    <nav class="breadcrumb">
      <div class="container">
        <i class="Hui-iconfont">&#xe67f;</i>
        <a href="index.html" class="c-primary">首页</a>
        <span class="c-gray en">&gt;</span>
        <span class="c-gray">文章</span>
        <span class="c-gray en">&gt;</span>
        <span class="c-gray"><?php echo ($articleData["article_title"]); ?></span></div>
    </nav>
    <section class="container pt-20">
      <div class="row w_main_row">
        <div class="col-lg-9 col-md-9 w_main_left">
          <div class="panel panel-default  mb-20">
            <div class="panel-body pt-10 pb-10">
              <h2 class="c_titile"><?php echo ($articleData["article_title"]); ?></h2>
              <p class="box_c">
                <span class="d_time">发布时间：<?php echo date('Y-m-d',$articleData['article_time']);?></span>
                <span>编辑：
                  <a href="mailto:wfyv@qq.com">宏宇</a></span>
                <span>阅读（<?php echo ($articleData["click"]); ?>）</span></p>
              <ul class="infos"><?php echo htmlspecialchars_decode($articleData['article_content']);?></ul>
              <!-- <div class="keybq">
              <p><span>关键字</span>：<a class="label label-default">个人博客</a><a class="label label-default">阿里云</a><a class="label label-default">空间</a></p></div> -->
              <div class="nextinfo">
                <p class="last">上一篇：
                  <a href="<?php echo ($prev_topic["href"]); ?>"><?php echo ($prev_topic["article_title"]); ?></a></p>
                <p class="next">下一篇：
                  <a href="<?php echo ($next_topic["href"]); ?>"><?php echo ($next_topic["article_title"]); ?></a></p>
              </div>
            </div>
          </div>
          <div class="panel panel-default  mb-20">
            <div class="tab-category">
              <a href="">
                <strong>文章评论</strong></a>
            </div>
            <div class="panel-body">
              <!--PC版-->
              <div id="SOHUCS" sid="<?php echo ($articleData["article_id"]); ?>"></div>
              <script charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/changyan.js" ></script>
              <script type="text/javascript">
              window.changyan.api.config({
              appid: 'cytIsdvn0',
              conf: 'c96f99bc69ba94ea5990635cf28e4b5c'
              });
              </script>
            </div>
          </div>
        </div>
        <div class="col-lg-3 col-md-3">
          <!--热门推荐-->
          <div class="bg-fff box-shadow radius mb-20">
            <div class="tab-category">
              <a href="">
                <strong>热门推荐</strong></a>
            </div>
            <div class="tab-category-item">
              <ul class="index_recd">
                <?php if(is_array($hotArticleList)): foreach($hotArticleList as $key=>$vo): ?><li>
                    <a href="<?php echo U('Article/index',array('aid'=>$vo['article_id']));?>"><?php echo ($vo["article_title"]); ?></a>
                    <p class="hits">
                      <i class="Hui-iconfont" title="评论数">&#xe622;</i><?php echo ($vo["num_comment"]); ?></p></li><?php endforeach; endif; ?>
              </ul>
            </div>
          </div>
          <!--图片-->
          <!-- <div class="bg-fff box-shadow radius mb-20">
          <div class="tab-category">
          <a href=""><strong>扫我关注</strong></a></div>
          <div class="tab-category-item">
          <img data-original="/Public/Home/assets/temp/gg.jpg" class="img-responsive lazyload" alt="响应式图片"></div>
          </div> -->
        </div>
      </div>
    </section>
      <footer class="footer mt-20"> 
   <div class="container-fluid" id="foot"> 
    <p>Copyright &copy; 2018 www.whyfx.cn <br /> <a href="#" target="_blank">晋ICP备17009902号</a> <!-- 更多模板：<a href="http://www.mycodes.net/" target="_blank">宏宇的博客</a> --><br /> </p> 
   </div> 
  </footer>
    <!-- footer html -->  
    <script type="text/javascript" src="/Public/Home/assets/plugin/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="/Public/Home/assets/plugin/layer/3.0/layer.js"></script>
    <script type="text/javascript" src="/Public/Home/assets/plugin/h-ui/js/H-ui.min.js"></script>
    <script type="text/javascript" src="/Public/Home/assets/plugin/pifu/pifu.js"></script>
    <script type="text/javascript" src="/Public/Home/assets/js/common.js"></script>
    <script>
      $(function() {
        $(window).on("scroll", backToTopFun);
        backToTopFun();
      });
    </script>
    <script type="text/javascript" src="/Public/Home/assets/plugin/wangEditor/js/wangEditor.min.js"></script>
    <script type="text/javascript">
      $(function() {
        $("img.lazyload").lazyload({
          failurelimit: 3
        });

        wangEditor.config.printLog = false;
        var editor1 = new wangEditor('textarea1');
        editor1.config.menus = ['insertcode', 'quote', 'bold', '|', 'img', 'emotion', '|', 'undo', 'fullscreen'];
        editor1.config.emotions = {
          'default': {
            title: '老王表情',
            data: '/Public/Home/assets/plugin/wangEditor/emotions1.data'
          },
          'default2': {
            title: '老王心情',
            data: '/Public/Home/assets/plugin/wangEditor/emotions3.data'
          },
          'default3': {
            title: '顶一顶',
            data: '/Public/Home/assets/plugin/wangEditor/emotions2.data'
          }
        };
        editor1.create();

        //show reply
        $(".hf").click(function() {
          pId = $(this).attr("name");
          $(this).parents(".commentList").find(".cancelReply").trigger("click");
          $(this).parent(".comment-body").append($(".comment").clone(true));
          $(this).parent(".comment-body").find(".comment").removeClass("hidden");
          $(this).hide();
        });
        //cancel reply
        $(".cancelReply").on('click',
        function() {
          $(this).parents(".comment-body").find(".hf").show();
          $(this).parents(".comment-body").find(".comment").remove();
        });
      });
    </script>
   </script> 

  </body>

</html>